
#pciutils-2.2.4.tar.gz

Version:=2.2.4
ModuleName:=pciutils

Objcet:=$(ModuleName).tar.gz
ObjectDir:=$(ModuleName)-$(Version)
ObjcetSource:=$(ModuleName)-$(Version).tar.gz

DependFiles:=

InstallDir:=$(shell pwd)/tmp/usr/local

.PHONY: all clean dist_clean

all:$(Objcet)

$(Objcet): $(ObjcetSource)
	tar -xzf $(ObjcetSource)
	$(MAKE) -C $(ObjectDir)
	cp -rf $(ObjectDir)/lspci ./
	cp -rf $(ObjectDir)/setpci ./
	tar -czf $(Objcet) lspci setpci

clean:
	rm -rf lspci setpci $(Objcet) tmp

dist_clean:clean
	rm -rf $(ObjcetSource) $(ObjectDir)
	
include ../../Makefile.Res
